<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/login.css">
    <script src="/js/jquery-3.5.1.min.js"></script>
    <script src="/layui/layui.all.js"></script>
    <script src="/js/myajax.js"></script>
    <script src="/js/login.js"></script>

</head>
<body>
    <div class="logindiv">
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
            <legend>用户注册</legend>
        </fieldset>
        <form class="layui-form layui-form-pane" lay-filter="toolbarform">
            <div class="layui-form-item">
                <label class="layui-form-label">账号</label>
                <div class="layui-input-inline">
                    <input type="username" name="username" lay-verify="username" lay-verType="tips"
                           placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
                <i class="layui-icon" style="font-size: 30px; color: #1E9FFF;"></i>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">名字</label>
                <div class="layui-input-inline">
                    <input type="username" name="name"  lay-verify="required" lay-verType="tips"
                           placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
                <i class="layui-icon" style="font-size: 30px; color: #1E9FFF;"></i>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密码</label>
                <div class="layui-input-inline">
                    <input id="password" type="password" name="password" lay-verify="password" lay-verType="tips"
                           placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
                <i class="layui-icon layui-icon-password" style="font-size: 30px; color: #1E9FFF;"></i>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">确认密码</label>
                <div class="layui-input-inline">
                    <input id="newpassword" type="password" lay-verify="checkpassword" lay-verType="tips"
                           placeholder="请重复密码" autocomplete="off" class="layui-input">
                </div>
                <i class="layui-icon layui-icon-password" style="font-size: 30px; color: #1E9FFF;"></i>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="register">提交</button>
                    <button type="reset" class="layui-btn layui-btn-danger">重置</button>
                </div>
            </div>
        </form>
    </div>
</body>
</html>